#include <stdio.h>
#include <signal.h>
#include <unistd.h>

void myfunc(int signum)
{
	printf("alarm signal :%d \n",signum);
}
int main(int argc, const char *argv[])
{
	signal(SIGALRM,myfunc);
	alarm(5);
	int num;
	scanf("%d",&num);
	
	return 0;
}
